Mastering Elasticsearch - Second Edition by Rafał Kuć & Marek Rogoziński
Author:Rafał Kuć & Marek Rogoziński [Kuć, Rafał]
Language: eng
Format: epub
Publisher: Packt Publishing
Published: 2015-02-26T22:00:00+00:00
One of the properties that can be useful when having multiple nodes on a single physical server is cluster.routing.allocation.same_shard.host. When set to true, it prevents Elasticsearch from placing a primary shard and its replica (or replicas) on the same physical host. We really advise that you set this property to true if you have very powerful servers and that you go for multiple Elasticsearch nodes per physical server.
Inclusion
Now, let's use our example cluster to see how the allocation inclusion works. Let's start by deleting and recreating the mastering index by using the following commands:
curl -XDELETE 'localhost:9200/mastering' curl -XPOST 'localhost:9200/mastering' -d '{ "settings" : { "index" : { "number_of_shards" : 2, "number_of_replicas" : 0 } } }'
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
| Ajax | Assembly Language Programming |
| Borland Delphi | C & C++ |
| C# | CSS |
| Compiler Design | Compilers |
| DHTML | Debugging |
| Delphi | Fortran |
| Java | Lisp |
| Perl | Prolog |
| Python | RPG |
| Ruby | Swift |
| Visual Basic | XHTML |
| XML | XSL |
Deep Learning with Python by François Chollet(15032)
The Mikado Method by Ola Ellnestam Daniel Brolund(12292)
Hello! Python by Anthony Briggs(12183)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(11550)
Dependency Injection in .NET by Mark Seemann(11336)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(10150)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(9811)
Grails in Action by Glen Smith Peter Ledbrook(9479)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(9045)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(8437)
Becoming a Dynamics 365 Finance and Supply Chain Solution Architect by Brent Dawson(8002)
Microservices with Go by Alexander Shuiskov(7775)
Kotlin in Action by Dmitry Jemerov(7739)
Practical Design Patterns for Java Developers by Miroslav Wengner(7664)
Test Automation Engineering Handbook by Manikandan Sambamurthy(7615)
Angular Projects - Third Edition by Aristeidis Bampakos(7094)
The Art of Crafting User Stories by The Art of Crafting User Stories(6559)
NetSuite for Consultants - Second Edition by Peter Ries(6488)
Demystifying Cryptography with OpenSSL 3.0 by Alexei Khlebnikov(6264)